Xbasic

ColorDefinition.GetHueColor Function

Syntax

Color_Attributes as C = GetHueColor as Alpha5::ColorDefinition()

Arguments

Color_Attributes

A list of attributes of Color1.

Property
Type and Description
Blue

Type: N, 0 to 255

Green

Type: N, 0 to 255

HTML_Name

Type: C, HTML color name

Hue

Type: N, 0 to 100

Luminance

Type: N, 0 to 100

Type:

Name

Type: C, Alpha Anywhere color name

Red

Type: N, 0 to 255

RGB_Value

Type: N, 0 to 255

Saturation

Type: N, 0 to 100

Color1

An A5::ColorDefinition. Default = "Red".

Description

Get the saturated HUE color.

Discussion

The ColorDefinition.GetHueColor() method returns a list of attributes for a color.

Example

dim cc as colordefinition
? cc.Enumerate()
= Black
White
Red
Blue
Bright Green
Turquoise
Yellow
...
HTML-Black
HTML-Silver
HTML-Gray
HTML-White
HTML-Maroon
HTML-Red
...

See Also